package com.timmy.chi.sql;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;


/**
 * Created by Timmy on 2017/3/19.
 */

public class SqlHper extends SQLiteOpenHelper {

    public SqlHper(Context context) {
        super(context, "abc", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(BlackListDB.TableBlackList.TABLE_SQL);
        db.execSQL(BlackListDB.TableBlackList.TABLE_SQL_USER);
        db.execSQL(BlackListDB.TableBlackList.TABLE_SQL_GOODS);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
